import request from '@/utils/request'

// 改回原来的函数名以匹配 store 中的导入
export const userGetInfoService = () => request.get('/api/get')

// 登录接口
export const userLoginService = (data) => {
  return request.post('/api/login', data)
}
